package com.aispeech.task.api.service;

import com.aispeech.data.pojo.task.Request;
import com.aispeech.data.pojo.task.Task;
import com.aispeech.task.api.data.form.TaskForm;
import com.aispeech.task.api.data.vo.TaskProgress;
import reactor.core.publisher.Mono;

public interface ITaskService {
    Mono<TaskProgress> newTask(Request request);
    Mono<TaskProgress> progress(TaskForm taskForm);
    Mono<Task> result(TaskForm taskForm);
}
